
package com.campus.common.vo;


import java.io.Serializable;

public class Student implements Serializable {
    private String studentId;     // 学生 ID
    private String studentName;   // 学生姓名
    private AcademicRecord academicRecord;

    // 无参构造
    public Student() {
        this.studentId = "";
        this.studentName = "";
        this.academicRecord = null;
    }

    // 全参构造
    public Student(String studentId, String studentName, AcademicRecord academicRecord) {
        this.studentId = studentId;
        this.studentName = studentName;
        this.academicRecord = academicRecord;
    }

    // ===== Getter / Setter =====

    public String getStudentId() {
        return studentId;
    }
    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }


    public String getStudentName() {
        return studentName;
    }
    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public AcademicRecord getAcademicRecord() {return academicRecord;}
    public void setAcademicRecord(AcademicRecord academicRecord) {this.academicRecord = academicRecord;}
}